﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TeacherOverview.aspx.cs"
    Inherits="Credit_Teacher_ScoreInput_TeacherOverview" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Common/css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
        </asp:ScriptManager>
        <div id="divMain" class="mainWarp" style="width: 100%; height: 99%;">
            <div class="pageBody" style="width: 100%; height: 99%; padding-left:6px;">
                <br />
                年级组:<asp:DropDownList ID="selGrade" runat="server" AutoPostBack="true" OnSelectedIndexChanged="groupChanged">
                </asp:DropDownList>

                教研组:<asp:DropDownList ID="selSubject" runat="server" AutoPostBack="true" OnSelectedIndexChanged="groupChanged">
                </asp:DropDownList>
                
                <br />
                <asp:UpdatePanel ID="upResult" runat="server">
                    <ContentTemplate>
                        <h2 style="margin-left: 5px;">
                            <asp:Label ID="lbTitle" runat="server" Text=""></asp:Label></h2>
                        <asp:Table ID="tbResult" runat="server" CssClass="useList" Style="margin-left: 5px;">
                        </asp:Table>
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="selGrade" EventName="SelectedIndexChanged" />
                        <asp:AsyncPostBackTrigger ControlID="selSubject" EventName="SelectedIndexChanged" />
                    </Triggers>
                </asp:UpdatePanel>
            </div>
             <div style=" display:none">
                    <asp:TextBox runat="server" ID="txtHistoryId" />
             </div>
        </div>
    </form>
</body>

<script type="text/javascript" src="../../Common/js/jquery.js"></script>

<script type="text/javascript" src="../../Common/js/common.js"></script>

<script type="text/javascript">
        var currHistoryId = 0;
        function detailView(type)
        {
            var liList = parent.leftFrame.document.getElementById("detailLi");
            parent.leftFrame.removeActiveStyle();
            if(type == 2)
                liList.innerHTML = "<a href='#'>&nbsp;&nbsp;&nbsp;&nbsp;成绩录入</a>";
            else
                liList.innerHTML = "<a href='#'>&nbsp;&nbsp;&nbsp;&nbsp;学分录入</a>";
            liList.style.display = "block";
            liList.className = "active";
        }
</script>

</html>
<script>

 currHistoryId = <%=evalId %>
 document.getElementById("txtHistoryId").value = currHistoryId;
</script>
